$OpenBSD: patch-configure,v 1.6 2012/07/09 15:25:57 ajacoutot Exp $
--- configure.orig	Tue Jan 10 10:33:01 2012
+++ configure	Mon Jul  9 15:40:37 2012
@@ -21349,7 +21349,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
 else
 	# -O2
 	OLD_CXXFLAGS="$CXXFLAGS"
-	CXXFLAGS="$CXXFLAGS -O2"
+	CXXFLAGS="$CXXFLAGS"
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -O2" >&5
 $as_echo_n "checking whether cc accepts -O2... " >&6; }
 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
